400
Josie loves riding Ferris wheels and roller coasters. While visiting the Grant County Fair, she first went on the Ferris wheel 5 times and the roller coaster 2 times, using a total of 22 tickets. Then, after taking a break and having a snack, Josie went on the Ferris wheel 2 times and the roller coaster 2 times, using a total of 16 tickets. How many tickets does it take to ride each attraction?
What is x=2, y=6