How do you find the function rule of x , and y,

if you have both negative and positive integers.

the + or - status does not matter. Just find the rule as usual.