If AB=3x, BC=2y+16, AC=60 and B is midpoint of AC, what are the values of x and y?