To set this up you need to create the equation, the total cost is $22.69, so that will be on one side of the equation. The other side will be the flat rate 3, plus the 11 cents per minute.
22.69 = 0.11x +3
To solve this we need to subtract 3 from both sides, and then divide the total by 0.11 to get x alone:
22.69 = 0.11x +3
19.69 = 0.11x
x =179
So David rode the ride for 179 minutes. (Dividing by 60 will give you the number of hours since there is 60 minutes in 1 hour. So it’s about 3 hours.)