Answer:
On the final exam, Ray and Carl had an equal performance relative to their classmates.
Explanation:
This problem can be solved by looking at the z-score of Carl and Ray. Whoever has the highest z-score performed better on the final exam relative to their classmates.
The Z score formula is given by:

In which: X is the grade we are going to find the z-score of,
is the mean score and
is the standard deviation.
Carl:
His score on the final exam was 89.2, so
.
The mean score on the final exam is 78, so

With a standard deviation of 8 points, so

Carl's z-score is:

Now, we look into the z-table. The p-value of
is .9192, which means that Carl perfored better than 91.92% of his classmates.
Ray:
His score on the final exam was 87.6, so

The mean score on the final exam is 82 points, so

With a standard deviation of 4 points, so

Ray's z-score is:

Now, we look into the z-table. The p-value of
is .9192, which means that Ray also perfored better than 91.92% of his classmates.
On the final exam, Ray and Carl had an equal performance relative to their classmates.