Let's use the variable x to represent the average speed and d to represent the total distance.
Then, let's calculate the time needed for each part:
The first third has a speed of 2 mph, so the time is:

For the second third, we have a speed of 3 mph, so:

The last third has a speed of x, so:

Then, the average speed is the total distance over the total time, so:

The average speed of the trip is 2.4 m/s.