Let p be the probability that student A wins. Consider the possible outcomes of the first two rolls. (Recall that each roll consists of the throw of two dice.) Hence express p as a weighted mean, and solve for p.