```
Cost = (Distance / MPG) * Cost per gallon
```
In this case, the distance is 700 miles, the MPG is 22, and the average cost of gas is $4 per gallon.
Plugging these values into the formula, we get:
```
Cost = (700 / 22) * 4 = $127.27
```
Therefore, it would cost approximately $127.27 in gas to drive 700 miles at 22 MPG.