In this problem we have two variables, so we need two equation to solve the system.
The first equation comes from the gasoline he puts in his truck so: (R mean the regular gasoline, and P means the premium gasoline)
[tex]7R+5P=45.14[/tex]And the secon equation comes from the value of a individual gallon:
[tex]P=R+0.22[/tex]Now to find the value of the regular gasoline we can replace the second equation into the first equation:
[tex]\begin{gathered} 7R+5(R+0.22)=45.14 \\ 7R+5R+1.1=45.14 \\ 12R=44.04 \\ R=\frac{44.04}{12} \\ R=3.67 \end{gathered}[/tex]Now with the value of R we can rplace that into the second equation:
[tex]\begin{gathered} P=3.67+0.22 \\ P=3.89 \end{gathered}[/tex]