Print first line equation
if ( g > 0 and 1 - math . tan ( x ) * given_slope != 0 ) : NEW_LINE INDENT print ( " y ▁ = ▁ " , round ( slope_1 , 2 ) , " x ▁ + " , round ( g ) ) NEW_LINE DEDENT if ( g <= 0 and 1 - math . tan ( x ) * given_slope != 0 ) : NEW_LINE INDENT print ( " y ▁ = ▁ " , round ( slope_1 , 2 ) , " x ▁ " , round ( g ) ) NEW_LINE DEDENT f *= ( - slope_2 ) NEW_LINE f += y1 NEW_LINE