The figure formed by joining the midpoints of the adjacent sides of a quadrilateral is a
(a) rhombus
(b) square
(c) rectangle
(d) parallelogram