The length of the shortest side of a right triangle is 8 inches. The lengths of the other two sides are represented by consecutive odd integers. Which equation could be used to find the lengths of the other sides of the triangle?
A. 8^2+(x+1)=x^2
B. x^2+8^2=(x+1)^2
C. 8^2+(x+1)^2=x^2
D. x^2+8^2=(x+2)^2