On a number line, the coordinates of $P$ and $Q$ are 8 and 48, respectively. The midpoint of $\overline{PQ}$ is $B$, the midpoint of $\overline{BQ}$ is $C$, and the midpoint of $\overline{PC}$ is $D$. What is the coordinate of $D$?
I know that the midpoint of a segment is the average of the endpoints, so I can use that formula to find the coordinates of $B$, $C$, and $D$. First, I find $B$. The average of 8 and 48 is $\frac{8 + 48}{2} = 28$, so $B$ is at 28. Next, I find $C$. The average of 28 and 48 is $\frac{28 + 48}{2} = 38$, so $C$ is at 38. Finally, I find $D$. The average of 8 and 38 is $\frac{8 + 38}{2} = 23$, so $D$ is at 23. 