"x" is 100%, and 42 is 15% of that, so, what's "x"?
[tex]\bf \begin{array}{ccll}
amount&\%\\
\text{\textemdash\textemdash\textemdash}&\text{\textemdash\textemdash\textemdash}\\
x&100\\
42&15
\end{array}\implies \cfrac{x}{42}=\cfrac{100}{15}\implies x=\cfrac{42\cdot 100}{15}[/tex]