How can I controll 4 motors with L298N motor driver??

Hi, I'm new in Arduino Programming.

I'm trying to make 4 motor smart car with L298N motor driver(model name : WB291111), and I'm having a problem.

I connected left side wheels with Motor-B in motor driver, and right side wheels with Motor-A in motor driver. After that I programmed as attached below, but because the direction of rotation of front wheels and the rear wheels are reversed, smart car can't move forward.

int speed=128;

#define ENA 11
#define EN1 10
#define EN2 9
#define EN3 8
#define EN4 7
#define ENB 6

void setup()
{
  pinMode(ENA, OUTPUT);
  pinMode(EN1, OUTPUT);
  pinMode(EN2, OUTPUT);
  pinMode(EN3, OUTPUT);
  pinMode(EN4, OUTPUT);
  pinMode(ENB, OUTPUT);
}

void loop()
{
  digitalWrite(EN1,HIGH);
  digitalWrite(EN2,LOW);
  analogWrite(ENA,speed);
  digitalWrite(EN3, HIGH);
  digitalWrite(EN4, LOW);
  analogWrite(ENB,speed);
}

What should I do?? (I attached picture of execution for better understanding)

Most DC motors will turn the opposite way if the wires to the motor are connected opposite to the way they right now. Does this not work for your motors?

Paul