I will not solve this completely for you, but I will show you how to do it.
The area of ΔABC is (1/2)*10*9*sin ∠BAC.
The area of ΔPAQ is (1/2)*AP*AQ* sin ∠BAC
Equating areas gives AP*AQ=45 (remember the factor of 1/2!)
Now substitute AP=45/AQ into the law of cosines.as a nasty looking
Let y=length of PQ and x=length of AQ
y2 = x2 + (45/x)2 - 2*45*(3/8)
Differentiate implicitly and after some simplification since y≠0, you will get
2x-(2*452)/x3 = 0 and then x=3√5
I'm sorry this took so many tries and so long!