six flags charges a fee to enter the amusement park and then $2 per ride that you go on. If the total cost is $39 when you ride 7 rides, write an equation representing how much it is going to cost to be at the park.