\[\frac{7}{x} = \frac{42}{54}\text{\ \ \ \ \ \ }\]
\[\ \frac{7}{x} = \frac{7}{9}\ \Rightarrow x = 9.\]