Lily went for 8 rides.some rides were 'merry-go-round' and the rest were 'pirate ship'.the total cost of all rides was $6.30.each 'pirate ship' ride cost $.60 & each 'merry-go-round' ride cost $.90. How may 'pirate ship' rides did lily take?

Read through Related Questions below.

To solve this problem, we can use a system of equations. Let's assume the number of pirate ship rides Lily took is represented by 'x', and the number of merry-go-round rides Lily took is represented by 'y'.

From the problem, we know that:
1) Lily went for a total of 8 rides, so x + y = 8.
2) The total cost of all rides was $6.30, so 0.60x + 0.90y = 6.30.

Now we can solve the system of equations:
1) Multiply the first equation by 0.60 to make the coefficient of 'x' the same in both equations:
0.60x + 0.60y = 4.80.

2) Subtract this new equation from the second equation to eliminate 'x':
(0.60x + 0.90y) - (0.60x + 0.60y) = 6.30 - 4.80.
Simplifying, we get:
0.30y = 1.50.

3) Divide both sides of the equation by 0.30 to solve for 'y':
y = 1.50 / 0.30,
y = 5.

So, Lily took 5 merry-go-round rides.

4) Substitute the value of 'y' back into the first equation to solve for 'x':
x + 5 = 8,
x = 8 - 5,
x = 3.

Therefore, Lily took 3 pirate ship rides.

To answer the question, Lily took 3 pirate ship rides.