In △ABC, given below, AB=8 cm, BC=10 cm and AC=6 cm. If a point P lies on AB and Q on AC such that PQ∥BC and PQ=5 cm, then find AP.