A linear function p is defined such that p(0)=5 and p(2)=9. Which of the following equations defines p?
p(x)=2x+5
p(x)=4x+5
p(x)=2x+9
p(x)=4x+9