8x/y2*4y/7x

as with all fractions, just multiply tops and bottoms:

(8x*4y)/(y^2 * 7x)
= 32xy / 7xy^2
= 32 / 7y