[tex]\bf \begin{cases} c=model~cars\\ p=can~of~paint \end{cases}~\hspace{5em}\stackrel{total}{29.40}~~=~~\stackrel{cars}{2c}+\stackrel{cans}{2p} \\\\\\ \stackrel{\textit{total cost}}{29.40}=2(8.95)+2p\implies \boxed{29.40=17.9+2p} \\\\\\ 29.40-17.9=2p\implies 11.5=2p\implies \cfrac{11.5}{2}=p\implies \boxed{5.75=p}[/tex]