Cole wants to rent an electric scooter for one day. The charge is $18 plus $0.12 per mile. Cole wants to spend exactly $30. Write an equation to represent the situation