Respuesta :

p = b - 1

The number of paths = the number of barns minus 1.
The answer is p=b times 1. All you need to do is start plug in values for b and p into the three formulas, and see which formula is true.