The entry fee is $8
The aditiobnal fee is $3 for every hour.
So, if he left his car in the lot for t hours, the total cost will be,
[tex]T=8+3t[/tex]Therefore, if he left his car in the lot for 6 hours, the cost will be,
[tex]T=8+(3\times6)=26[/tex]Thus the total cost is $26