F(x)=X2 ...... f’=2x
.
The “slope” is what is sought (1st deriv.) not ‘x’ nor’y.’
Since you already have the equation that represents the function, neither of the variables is an unknown.
It is amazing how many people can’t focus on what they are really doing. Even “common core” may be above their heads.
.