Answer
$5p^2$ has degree $2$; $4p$ has degree $1$; $-87$ has degree $0$; the polynomial has degree $2$.
Work Step by Step
The polynomial's degree is the same as the largest degree from any of the terms.
$5p^2+4p-87$
$5p^2$ has degree $2$; $4p$ has degree $1$; $-87$ has degree $0$; the polynomial has degree $2$.