Algebra 1

x = classes, y = total cost $20 + 3x = y$, $5x = y$ $20 + 3x = 5x$ $20 +3x - 3x = 5x-3x$ $20 = 2x$ $20/2 = 2x/2$ $10 = x$