A cell phone cost $10 for the phone and $2 per hour that someone talks on the phone. If Jeremiah spent $30 total, how many hours did he spend talking on the phone? Write an equation to represent this situation.

help plz oof ​