If 1/5 of the distance from the x-axis to the point A(2a+3,3a+4) is equal to 6/7 of the distance from the y-axis to the point B(4-a,5-a). What is the value of a, if a>5?