solve for x. assume that lines which appear tangent