x = Numero total de coches
xr = Carros rojos
Expresa el porcentaje en forma decimal:
30% = 30/100 = 0.3
[tex]\begin{gathered} 0.3x=xr \\ 0.3x=12 \end{gathered}[/tex]Resuelve para x:
[tex]\begin{gathered} x=\frac{12}{0.3} \\ x=40 \end{gathered}[/tex]Hay un total de 40 coches en el estacionamiento
-------
De acuerdo al enunciado podemos concluir:
[tex]2(4)+6(3)+2(2)[/tex]