Find the equation of the lines which passes through the point (3, 4) and cuts off intercepts from the coordinate axes such that their sum is 14.