PLEASE HELP, LIKELY EASY SOLUTION

For one of my highschool engineering projects I am using an Arduino UNO, servo motor, a 12V DC motor and a L298N motor controller running in a simple void loop function, and for the the code involving the digitalWright for the L298N controller i keep gettin an error that says "Expected declaration before '}' token" so i know it is an error in my token placement. Can someone please help me out this is due on monday and if i cant figure it out im screwed.
Heres my code:

#include <Servo.h>
int EnA = 9;
int In1 = 7;
int In2 = 8;

Servo myservo;

void setup()
{
myservo.attach(13);
pinMode (EnA, OUTPUT);
pinMode (In1, OUTPUT);
pinMode (In2, OUTPUT);
}

void loop() {
myservo.write(90);
delay(2000);
myservo.write(0);
delay(2000);
}
digitalWrite(EnA, HIGH)
digitalWrite(In1, HIGH)
digitalWrite(In2, LOW)
delay (5000);
digitalWrite(EnA, HIGH);
digitalWrite(In1, LOW);
digitalWrite(In2, LOW);
delay (5000)
digitalWrite(EnA, HIGH);
digitalWrite(In1, LOW);
digitalWrite(In2, HIGH);
}
}

Hello,

Whenever you open an arm with a bracket, you should close the pad with the opposite bracket

Note that you left a good part of the code floating out of a subroutine:

digitalWrite(EnA, HIGH)
digitalWrite(In1, HIGH)
digitalWrite(In2, LOW)
delay (5000);
digitalWrite(EnA, HIGH);
digitalWrite(In1, LOW);
digitalWrite(In2, LOW);
delay (5000)
digitalWrite(EnA, HIGH);
digitalWrite(In1, LOW);
digitalWrite(In2, HIGH);
}
}

Try commenting on these brackets:

void loop() {
myservo.write(90);
delay(2000);
myservo.write(0);
delay(2000);
//} <----------------------------
digitalWrite(EnA, HIGH)
digitalWrite(In1, HIGH)
digitalWrite(In2, LOW)
delay (5000);
digitalWrite(EnA, HIGH);
digitalWrite(In1, LOW);
digitalWrite(In2, LOW);
delay (5000)
digitalWrite(EnA, HIGH);
digitalWrite(In1, LOW);
digitalWrite(In2, HIGH);
//} <----------------------------
}

Maybe this stuff can help you:

Also this:

A very helpful troubleshooting tool is the Arduino IDE's Tools > Auto Format feature. If you do an Auto Format and then compare the resulting indentation to your intended program structure, it will quickly point you to where there is a missing or extra brace. In this case you already had the auto format and the answer was staring you right in the face. You just didn't look at what the indentation was trying to tell you.

Another useful feature of the Arduino IDE is that when you place the cursor next to one bracket, it puts a box around the matching bracket. If the cursor is next to the closing bracket and the opening bracket is off the screen then it will show the opening bracket line in a tool tip after a short delay.