Lily went for 8 rides at the county fair. Some rides were on the merry-go-round, and the rest were on the pirate ship. The total cost of all rides was $6.30. Each pirate ship ride cost $0.60, and each merry-go-round cost $0.90. How many pirate ship did Lily take?

1 answer

number of rides on merry-go-round ---- x
number of rides on pirate ship ---- 8-x

solve .9x + .6(8-x) = 6.3
times 10

9x + 6(8-x) = 63

take it from here.