I take it you're OK with integration between limits.
Seems the question is badly formed at the moment - seems the obvious thing would be to assume point contact at each pole, but a point has no area and therefore infinite resistance. if you assume a very small contact area then the resistance you calculate is going to be very sensitive to the size of the area you choose so you won't get an answer near your teachers unless you make the same assumption.
I can't think of a way around it - doesn't seem to be answerable unless a contact area is given.
very possibly someone else here or on the maths forum knows some super slick trick that I don't