Answer:
The equation for the situation is:

where
represents the number of questions initially assigned to each student by the teacher.
On solving, we find that 5 questions were originally assigned to each student by the teacher.
Step-by-step explanation:
Question:
Five students came for after-school tutoring. Priya’s teacher assigned each of them the same number of problems to complete. Then she assigned 2 more problems to one of the students. 27 problems were assigned in all. Use y as the variable. Write an equation for the situation. Then, find the number of problems originally assigned to each by the teacher.
Given:
Total number of students = 5
Total problems assigned = 27
To find the number of problems originally assigned by the teacher.
Solution:
Let the number of problems originally assigned by the teacher to each student be = 
If each student is assigned
questions initially.
Then, 5 students was initially assigned =
questions
The teacher then assigned 2 more problems to one of the students.
So, the total number of questions now assigned will be given as:
⇒ 
Total problems assigned = 27
Thus, we have:

Solving for 
Subtracting both sides by 2.


Dividing both sides by 5.

∴ 
Thus, each student was originally assigned = 5 questions