Second class extra points = x
First class extra points = x - 54
Both have 438 total extra points
x + (x-54) = 438
Solve for x
x +x - 54 = 438
x + x = 438 +54
2x = 492
x= 492/2
x= 246
First class = x -54 = 246 - 54 = 192 extra points
Second class = x = 246 extra points