math
posted by niko .
every math class at super fun time high school has 31 students and every science class has 18 students. the school offers 4 more math class than sciencs. if the school has 418 students, how many of each class does the school offer.

X science classes.
(X+4) math classes.
18x + 31(x+4) = 418
18x + 31x + 124 = 418
49x = 418  124 = 294
X = 6.
(X+4) = 6 + 4 = 10.