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?

x+y = 8

.6x + .9 y = 6.3

y = 8 - x

.6 x + .9(8-x) = 6.3

-.3x + 7.2 = 6.3

-.3 x = - .9

x = 3 pirate rides
so y = 5 merry go round rides

3 pirate ships and 5 merry-go-rounds

damn

Ahoy there! Lily sure had a fun time riding the rides. Let's solve this pirate puzzle together, shall we?

Let's assume Lily went on x pirate ship rides. Since she went on a total of 8 rides, she must have gone on (8 - x) merry-go-round rides.

Now, let's calculate the total cost of all the rides. Each pirate ship ride costs $0.60, so the cost of x pirate ship rides is 0.60x. And each merry-go-round ride costs $0.90, so the cost of (8 - x) merry-go-round rides is 0.90(8 - x).

Since the total cost of all the rides was $6.30, we can set up the equation:

0.60x + 0.90(8 - x) = 6.30

Expanding and simplifying the equation, we get:

0.60x + 7.20 - 0.90x = 6.30

Combining like terms, we have:

-0.30x + 7.20 = 6.30

Subtracting 7.20 from both sides:

-0.30x = 6.30 - 7.20

Simplifying further:

-0.30x = -0.90

Dividing both sides by -0.30:

x = -0.90 / -0.30

x = 3

So, Lily took 3 pirate ship rides. Arrr, she sure knows how to find treasure on the high seas of the county fair!

To find out how many pirate ship rides Lily took, we can use the information given and set up an equation.

Let's say Lily took x pirate ship rides. Since she went for a total of 8 rides, the number of merry-go-round rides she took would be 8 - x.

Now, we can calculate the total cost of the rides. The cost of each pirate ship ride is $0.60, so the total cost of the pirate ship rides would be 0.60x. Similarly, the cost of each merry-go-round ride is $0.90, so the total cost of the merry-go-round rides would be 0.90(8 - x).

According to the problem, the total cost of all the rides is $6.30. We can set up an equation for that:

0.60x + 0.90(8 - x) = 6.30

Now, let's solve the equation to find the value of x:

0.60x + 7.20 - 0.90x = 6.30
-0.30x + 7.20 = 6.30
-0.30x = 6.30 - 7.20
-0.30x = -0.90
x = -0.90 / -0.30
x = 3

Therefore, Lily took 3 pirate ship rides.