So Im being asked to find volume of a tire given two diameters 1 for the outer circle of the tire and 1 for the inner circle then the width of the tire

Diameter of outer circle = 25 inches
Diameter of inner circle 17 inches
Width of tire = 7 inch
I just need to get the formula, the answer should be around 1847.25 cubic inches

Since 17+7 = 24, the numbers do not make sense.

v = (πr^2)(2πR)

Maybe the tire is not circular in its cross-section.
In any case, figure the area of the cross-section, then multiply that by (r+R)/2
see the Theorem of Pappus to see why.

google volume of torus for further discussions
(which you could have done on your own ...)