Answer:
4 cm
Explanation:
Draw the line MD that is parallel to AQ. Consider triangles BMD and BAQ. These triangles are similar, because they have three pairs of congruent angles (angles BMD and BAQ are corresponding, angles BDM and BQA are corresponding and angle B is common). The coefficient of similarity is
because point M is midpoint of AB. Then

Since
then

Consider triangles CPQ and CMD. These triangles are similar, because they have three pairs of congruent angles (angles CPQ and CMD are corresponding, angles CQP and CDM are corresponding and angle C is common). The coefficient of similarity is
because point P is midpoint of CM. Then

Since
then

Hence you get
