A fun park charges $10 for admission and then $2 for every ride. Write a function that determines the amount of money spent, y, based on
the number of rides ridden ,X. Please helppppp ASAP!!!!