Answer: 504
Step-by-step explanation:
When we select r things from n things in a order , we use permutations.
Formula for permutation: 
Given : The number of family members who are potential kidney donors. = 9
Number of people needed to be selected for best match, a second-best match, and a third-best match ( in an order)=3
Then, the number of possible orders are = 

Hence, the number of possible orders 504.
First and last terms of the given equation are perfect squares. They can be written as
(4p^2)^2+ 2.(4p^2).5+(5)^2
It's like identity 1: (a+b)^2=a^2+2ab+b^2
So a=4p^2 and b=5
Therefore it is equal to (4p^2+5)^2