Check out the diagram below.
Since D and E are midpoints of AB and AC this means midsegment DE is parallel to side BC. Furthermore, it means DE is parallel to PQ because PQ is entirely on BC.
---------
Note how I drew a line from A to O. This forms two triangles ABO and ACO
For triangle ABO, segment DP is a midsegment because D and P are midpoints of AB and OB respectively. This means side DP is parallel to side AO. Keep this in mind as we'll use it later.
For triangle ACO, segment EQ is parallel to AO because EQ is a midsegment for similar reasons as already mentioned (E and Q are midpoints of AC and OC respectively). So this must mean that AO is parallel to EQ
Now chain the arguments together: if DP || AO and AO || EQ, then DP || EQ by the transitive property.
-----------
In short, we've proven two things
- DE is parallel to PQ
- DP is parallel to EQ
This is enough to conclude that DEQP is a parallelogram. By definition, a parallelogram has two pairs of opposite parallel sides.