Given conditions,
Jacob(J), Yuki(Y), and Stephen(S) each took the same science test.
total of their scores on the test = 90
J+Y+S = 90--->condition 1
average of (J,Y,S) = 90/3 = 30
was the average of the 3 scores equal to the median of the 3 scores [x1 <= x2 <= x3]?
J+Y+S/3 = median(x2)
30 = x2 ?
Lets consider statement (1) Yuki's score was 20 greater than Stephen’s score.
Y = S + 20
J + Y + S = 90 => J + (S+20) + S = 90 => J + 2S = 70.
If S=10, Y=30, J=50. Scores: {10, 30, 50}. Median=30. Yes.
If S=25, Y=45, J=20. Scores: {20, 25, 45}. Median=25. No.
statement (1) is Insufficient.
Lets consider statement (2) Jacob's score was 30.
J = 30.
J + Y + S = 90 => 30 + Y + S = 90 => Y + S = 60.
Let the three scores be x1, x2, x3
When ordered, the median is x2
The mean is (x1 + x2 + x3 )/3.
If one of the scores is equal to the mean, let's say J=(J+Y+S)/3.
This implies 3J=J+Y+S, so 2J=Y+S.
Since J=30, this means 2(30)=Y+S, so Y+S=60. This is consistent with what we derived from statement (2).
If one score is equal to the mean, then the other two scores must be one above and one below the mean, or both equal to the mean.
Case 1: Y=S=30. Scores are {30, 30, 30}. Median = 30.
Case 2: Y < 30 and S > 30 (or vice versa).
Example: Y=20, S=40. Scores are {20, 30, 40}. Median = 30.
Example: Y=10, S=50. Scores are {10, 30, 50}. Median = 30.
In any of these cases, 30 is the middle value when sorted. So 30 is the median.
statement (2) is Sufficient