equation with given intersection yAxis