if 3x+4 varies directly as y - 2 and x=4 when y=4, find x when y=10