SOLVE IN LINEAR EQUATION?

A university bookstore recently sold a wirebound graph paper notebook for $1.08, and a college ruled notebook for $3.12.At the start of the spring semester, a combination of 50 of these notebooks were sold for a total of $88.68 .How much of each type were sold?

number of wirebound --- x

number of ruled --- 50-x

1.08x + 3.12(50-x) = 88.68
multiply by 100 to get rid of decimals
108x + 312(50-x) = 8868
108x - 312x = 8868 - 15600
-204x = -6732
x = 33

the sold 33 wirebound and 17 ruled notebooks

check: 33(1.08) + 17(3.12) = 88.68