How do you figure out the diameter of the base of a truncated cone with the measurement of the leaning side and the diameter of the top circle face?

And the height too