Answer to Question variable-3

  int m = max(x,y);
  int x = m*m + 1;