Your equation, y= ((R-r)/h)x+ r, is vague because there is no "x" nor "y" in your picture. I presume you mean y to be the radius of the tree at distance x from the large end. If that is what is meant, yes, when x= 0, that is y= 0+ r= r and when x= h, y= R- r+ r= R. And you are assuming that the radius is a linear function of x.
Now, at a given x, a cross section will be a disk with radius h. That disk has area [itex]\pi y^2[/itex] and so a disk with thickness "dx" will have volume "area times thickness"= [itex]\pi y^2 dx= \pi ([(R-r)/r]x+ r)^2)dx[/itex].
The approximate volume would be a sum of such things, a "Rieman sum", and the limit, as the thickness goes to 0 will be the integral
[tex]\pi \int_{x=0}^h (((R-r)/r)x+ r)^2 dx= \pi \int_{x=0}^h \left[\left(\frac{R-r}{r}\right)^2x^2+ 2(R-r)x+ r^2\right] dx[/tex]