Write function about x and y. it should return newX and newY
JavaScript grammar is applied.
Watch out divide by zero.
function transfrom(x,y){
var newX = 0, newY = 0;
return [newX, newY]
}
Apply
newX = 1+x*x-y*y newY = 2*x*y