how to send two variables from arduino?

hello all.
I would like to share my problem with you. i want to send two variables from arduino but I can’t???

const int xaxis= A0;
const int yaxis=A1;

void setup() {
Serial.begin(9600);
pinMode(A0,INPUT);
pinMode(A1,INPUT);

}

void loop() {
int x=analogRead(A0);
int y=analogRead(A1);

Serial.write(?);

Serial.flush();
delay(20);

}

From my experience when using pin numbers for the method
analogRead()
Only use the analog pin numbers instead of the letters. I.E: Instead of analogRead(A5); use analogRead(5);
When using
pinMode();
Only use the method for digital pins, don't use it for analog pins.
Serial.write()
I think you mean
Serial.print()
Serial.print() is for printing something on the Serial Monitor. However, Serial.write() is for displaying binary. If you don't know where the serial monitor is, look in the top right corner of the app. You could also go on tools and click it.
Here is how I would do it.

const int xaxis= 0;
const int yaxis=1;

void setup() 
{
  Serial.begin(9600);
}

void loop() 
{
  
  int   x = analogRead(xaxis);
    int   y = analogRead(yaxis);

    Serial.print("                    X axis:");
    Serial.print(x);
    Serial.print("                Y axis:");
    Serial.print(y);
    Serial.println("")
    delay(20);
 
}

Matt