ANSWER
![\begin{equation*} 315\text{ }miles \end{equation*}](https://img.qammunity.org/2023/formulas/mathematics/college/fz1jr5anzadvmvpolrm74pbeigfyck5479.png)
Step-by-step explanation
Let her average rate on the trip to the mountains be x miles per hour.
This implies that her average rate on her way home was (x + 18) miles per hour.
The distance traveled can be found using the formula for speed(average rate):
![\begin{gathered} speed=(distance)/(time) \\ \\ distance=speed*time \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/xuxevoqb4bswndkqth8s47avyy4knn115u.png)
Therefore, on her way to the mountains:
![d=x*7](https://img.qammunity.org/2023/formulas/mathematics/college/t2dhz88r44sedovqbfeylzrj7d5cpkhrjq.png)
And on her way home:
![d=(x+18)*5](https://img.qammunity.org/2023/formulas/mathematics/college/fmfwk1rxef3azb0ph062pj9j6m5i2lzff7.png)
Since the distance is the same for both trips, equate the two equations:
![\begin{gathered} x*7=(x+18)*5 \\ \\ 7x=5x+90 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/ddk9ciy2tlaeju08d55w79jt6uk6u6cqqb.png)
Solve for x in the equation:
![\begin{gathered} 7x-5x=90 \\ \\ 2x=90 \\ \\ x=(90)/(2) \\ \\ x=45\text{ mph} \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/1upk4zt3ytk8ff57txdbbftxzwq3yfxh7h.png)
Substitute the value of x into the equation for distance to find the distance:
![\begin{gathered} d=45*7 \\ \\ d=315\text{ }miles \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/1jovciyakaa2x517e9nu8k292hqv1fq4vg.png)
That is the distance from the mountains to where Tammy lives.