TeX source:
\begin{aligned} 40 &=30+1.2 c \\ 10 &=1.2 c \\ c & \approx 8.33 \end{aligned}