A carnival came to town. They sold 8 tickets for rides for a total of $25. The merry-go-round ticket cost $3.25 and the jumbo slide ticket cost $2.75. What is the equation for the number of tickets sold?