3u-ux/x=6y/x

Multiplying both sides by x gives you:

3ux - ux = 6y

2ux = 6y