The function p is defined by p(x)=(x−3)2+1. If p(x)=10, which of the following could be a value of x?
0
1
2
4