How do i compute this?

Answers are:

x = 1,2,3,4,5,6

P(X=x) = 1/36, 1/12, 5/36, 7/36, 1/4, 11/36

Let X be the upper number when two dice are rolled, or the common number if doubles are rolled. (Example, a roll of 4-3 would be given a value of 4 while a roll of 5-5 would be given a value of 5) Fill in the corresponding probability distribution table