To find the density function \( D \), we need to substitute the functions \( f(x) \) for mass \( M \) and \( g(x) \) for volume \( V \) into the formula \( D = \frac{M}{V} \).
Given:
- Mass function: \( f(x) = 2x^2 + 9x + 4 \)
- Volume function: \( g(x) = x + 4 \)
We can express the density \( D \) as follows:
\[ D(x) = \frac{f(x)}{g(x)} = \frac{2x^2 + 9x + 4}{x + 4} \]
This function represents the density of the object in terms of \( x \). Therefore, the function for density is:
\[ D(x) = \frac{2x^2 + 9x + 4}{x + 4} \]
This is the function that represents the density of the object.