Let 'x' represent the number of times she went on the roller coaster
Let 'y' represent the number of times she went on the water slide.
If she went on 20 rides total,
The mathematical representation of the above statement is,
The wait time for the roller coaster is 30 minutes and the wait time for the water slide is 15 minutes. And we were told they waited for 5hours in line.
The mathematical representation of the above statement is,
Combining the two equations together
Using substitution method, making 'x' the subject of formula in equation 1
Substitute x = 20 - y into equation 2 to solve for y
Substitute y = 20 into equation 3 and solve for x
Therefore, the number of times she went on the roller coaster is 0 time.
That means she did not ride on roller coaster at all.