Print first line equation
if ( g > 0 ) System . out . println ( " y ▁ = ▁ " + ( Math . round ( slope_1 * 100.0 ) / 100.0 ) + " x ▁ + " + ( Math . round ( g * 100.0 ) / 100.0 ) ) ; if ( g <= 0 ) System . out . println ( " y ▁ = ▁ " + ( Math . round ( slope_1 * 100.0 ) / 100.0 ) + " x ▁ " + ( Math . round ( g * 100.0 ) / 100.0 ) ) ; f *= ( - slope_2 ) ; f += y1 ;