As shown, the area of the rectangle $ABCD$ is 10. $E$, $F$, and $G$ are the midpoints of the respective sides. Find the sum of the two shaded areas.