Answer:
Mary graduated higher in her class.
Explanation:
Assuming that the GPA for both colleges is normally distributed, we can find out which student ranked higher within their respective class by finding the z-score for each student. The student with the highest z-score is at the highest percentile of the distribution and, therefore, has graduated higher in his/her class.
Z-score for John at college A:
Mean = 3.5
Standard Deviation = 0.75
X = 3.6

Z-score for Mary at college B:
Mean = 3.8
Standard Deviation = 0.85
X = 4.0

Since Mary has a higher z-score, she graduated higher in her class than John did in his class.