Two fair dice are rolled

Two fair dice are rolled. Find the joint probability mass function of X and Y when

a) X is the largest value obtained on any die and Y is the sum of the values;
b) X is the value on the first die and Y is the larger of the two values;
c) X is the smallest and Y is the largest value obtained on the dice.