From the first equation, express x = 150 - y and substitute it into the second equation. You will get the equation for "y", the number of $5 items 2*(150-y) + 5y = 405 dollars. From this equation, express "y" and calculate y == 35. ANSWER. 35 of the $5 items were sold.