find the equation and length of altitude from the vertex A.