What equation would I write for this problem. Please help.

On Tuesday at noon there were 4 inches of snow on the ground. Then it snowed at a rate of x inches per hour for 7 hours. By Tuesday at 7:00 p.m. there were 25 inches of snow on the ground.

4 + 7x = 25

To write the equation for this problem, let's start by breaking down the information given:

At Tuesday noon (12:00 p.m.), there were 4 inches of snow on the ground.
Then, it snowed at a rate of x inches per hour for 7 hours.
By Tuesday at 7:00 p.m. (7 hours later), there were 25 inches of snow on the ground.

To find the equation, we need to express the relationship between the initial amount of snow, the rate of snowfall, and the time elapsed.

Let's assign variables to the unknowns:
Let:
- S0 be the initial amount of snow at Tuesday noon (12:00 p.m.), which is 4 inches.
- x be the rate of snowfall in inches per hour.
- t be the time in hours.

The equation can be written as:
S0 + x * t = 25

Solving this equation will give us the value of x (the rate of snowfall) and allow us to find the answer.