equation with given intersection xAxis