Set up the ratios as proportional fractions:

We can simplify the first fraction to make the problem easier. Both the numerator and denominator of the first fraction can be divided by 3:


Both fractions now have the same denominator. Since both fractions have to equal each other, the numerators will also be the same. Therefore,
x = 4.