hi
if I have integer number 2. on a line it's two moves to the right and it's square 4 is four moves.
how is this drawn on cartesian co system with both x and y axis?
The "number line" is only one dimension. Points on the two dimensional xy-plane are not numbers, they are pairs of numbers, (x, y). One way to connect the two is to have a function, f(x). Each value or x gives a value for y= f(x)- so an (x, y) point.