If the direction of the resultant force does not change, thenthe angle between them remains same.
Let us assume that the angle was initially 450.
⇒tan450=2P2P=1
⇒ When first force is doubled, it becomes =4P
Given that 20N is added to the second force, it becomes =2P+20
⇒tan450=4P(2P+20)=1
⇒4P=2P+20
⇒2P=20
⇒P=10N
alt method :
tanβ=(2Psinθ)P+2Pcosθ⟹(1)
tanβ={(2P+20)sinθ}2P+(2P+20)cosθ⟹(2)
by equating (1) & (2)
2P=20
P=10 N