Its a weird problem but I think u should use formula:
(a+b)^2=a^2+2ab+b^2
5(q+p+3)=5q+15+5p=(√5q+√5p)^2
it is only thing u can do.
3.4m questions
4.4m answers