x: number of hours
The rental service charges a flat fee of $30 plus $10 per hour. Then, after x hours, the charge is: 30 + 10x
The total charge comes to $90, then
30 + 10x = 90
30 is adding on the left, then it will subtract on the right
10x = 90 - 30
10x = 60
10 is multiplying on the left, then it will divide on the right
x = 60/10
x = 6 hours