for this you have to remember the MI of a rod, disc, ring, hollow sphere, solid sphere, hollow cylinder (same as that of disc) abouth their axis. you have to remember some properties of MI. for situations other than these you must know integration method