Let x be the cost of one basic yearbook ordered and y be the cost of one deluxe year book ordered.
The equation that represents the number of books ordered for Mrs .Mckee's class will be
28 x + 6y = 2654 which when divided with 2 will be 14 x + 3y = 1327
The equation that represents the number of books ordered for Mr. Moran's class will be 18 x + 28 y = 4048
which when divided with 2 will be 9x + 14 y = 2024
(14 x + 3y = 1327) x 14
( 9 x + 14 y = 2024) x 3
-------------------------------
196 x + 42 y = 18578
\mp 27 x \mp 42 y = \mp 6072
---------------------------------
169 x = 12506
x = 74
Plugging this in 14 x + 3y = 1327
3y = 1327 - 14 \cdot 74
3y = 1327 - 1036
y = 97
So, the cost of one basic yearbook ordered will be $74 and the cost of one deluxe yearbook ordered will be $97.