The function p is defined as p(x)=−2x+b, where b is a constant. If p(6)=−5, what is the value of b?
-17
7
12
17