Given that The coefficient of x and x2 in (1+x)p(1−x)q are 4 and −5.
⇒(1+x)p(1−x)q=(1+px+2!p(p−1)x2+....)(1−qx+2!q(q−1)x2−....)
Now coefficient of x from the above expansion will be
p−q which is equal to 4
⇒p−q=4.
Similarly coefficient of x2 is −5.
⇒2p(p−1)+2q(q−1)−pq=−5
⇒2p2−2pq+q2−2(p+q)=−5
⇒2(p−q)2−2(p+q)=−5
⇒216+5=2(p+q)
⇒p+q=26 and p−q=4
On solving the above equations we get,
p=15 and q=11.
⇒2p+3q=2(15)+3(11)=63
Therefore, the required answer is 63.