The geothermal temperature can be calculated using the formula:
\[ T = T_{\text{surface}} + (\text{gradient} \times \text{depth}) \]
Where:
Substitute the given values into the formula:
\[ T = 25^\circ \text{C} + (0.02^\circ \text{C/m} \times 18000 \, \text{m}) \]
Now, calculate the geothermal temperature:
\[ T = 25^\circ \text{C} + 360^\circ \text{C} = 385^\circ \text{C} \]
The temperature at a depth of 18 km is: 385°C (rounded to the nearest integer).