Pascal's triangle is symmetric, so the first line is actually
5005 a a 5005
and the second line is actually
. b 12870 b .
Moreover, in Pascal's triangle, each term is between two terms in the previous rows, and it turns out be their sum. So, you have

and also
