This question was asked in Example 2
X and Y values for both the equation we should take same values or different ?

Chandana BC's image