To find the x-intercept of the function \( y = 240,000 - 20,000x \), you need to set \( y \) to 0 and solve for \( x \):
\[ 0 = 240,000 - 20,000x \]
Now, isolate \( x \):
\[ 20,000x = 240,000 \]
\[ x = \frac{240,000}{20,000} \]
\[ x = 12 \]
Thus, the x-intercept is at \( (12, 0) \). This indicates that after 12 years, the value of the building will be zero.