In following link, you may see the triangle drawn.
https://i.stack.imgur.com/XdCRP.png
Solution:
$\frac{AP}{PC} = \frac{3}{4}, \frac{QM}{MP} = \frac{3}{2} $ are given in the question. Lets draw a line from A to T through M.
$\frac{AP}{AC} \times \frac{CT}{TQ} \times \frac{QM}{MP} = 1$ by the menelaus theorem. When we plug the values into this:
$
\frac{3}{7} \times \frac{CT}{TQ} \times \frac{3}{2} = 1,
\frac{CT}{TQ} = \frac{14}{9}\tag{1} $
$
\frac{QT}{QC} \times \frac{CP}{PA} \times \frac{AM}{MT} = 1$ by the menelaus theorem. When we plug the values into this:
$
\frac{9}{23} \times \frac{4}{3} \times \frac{AM}{MT} = 1,
\frac{AM}{MT} = \frac{23}{12}\tag{2} $
$
\frac{CT}{CQ} \times \frac{QB}{BA} \times \frac{AM}{MT} = 1$ by the menelaus theorem. When we plug the values into this:
$
\frac{14}{23} \times \frac{12cm}{BA} \times \frac{23}{12} = 1,
\frac{12cm}{BA} = \frac{12}{14}\tag{3}$
$Thus, BA = 14 cm.$