http://prntscr.com/lh3wt9
sqrt ( p + a) + r = k subtract r from both sides
sqrt ( p + a) = k - r square both sides
p + a = ( k - r)^2
p + a = k^2 - 2kr + r^2 subtract p from both sides
a = k^2 - 2kr + r^2 - p