If x2=y3\dfrac{x}{2} = \dfrac{y}{3}2x, by alternendo we get—
By alternendo the antecedents and consequents are regrouped: x2=y3\dfrac{x}{2}=\dfrac{y}{3}2x=3y becomes xy=23\dfrac{x}{y}=\dfrac{2}{3}yx=32. The numerators pair together and the denominators pair together.