Answer
$x = 6$
Work Step by Step
$\frac{x}{7} = \frac{18}{21}$
The cross products property states that the product of the means is the product of the extremes. Get rid of the fractions by using the cross products property to multiply the numerator of one fraction with the denominator of the other fraction, and vice versa:
$21x = 126$
Divide each side by $21$ to solve for $x$:
$x = 6$