Lets say that Mallory pays
for
rides on the Water slides.
There in the question Mallory's ride is undefined,so we take it as Water slide ride.
Ferris wheel ride cost
And Water slides cost
Explanation:
Now lets assign
for Ferris wheel ride and
for water slide.
According to the question.
Kyra spent
for
rides on Ferris wheel and
on Water slide, so
Similarly for Mallory we have
We have two equations and two unknowns.
Firstly we will find the value of Water slide cost that is
then,
Dividing both sides with
The cost of each Water slide ride
Now
Plugging the value of
in
.
Subtracting
both sides
So the cost of Ferris wheel
The cost of Ferris wheel ride
and the cost of Water slides