For a linear function g, the table shows values of x and g(x). If g(0)=5 and g(1)=8, which equation defines g(x)?
g(x)=3x+5
g(x)=5x+3
g(x)=8x+5
g(x)=3x+8