The number of students in the class (x) will be divided into teams of 4, except one team will have 5, resulting teams in all. Write an mathematical equation for the statement above.