This is known as parallel axes theorem.
Statement:
If IG be the moment of inertia of a body of mass M about an axis
passing through its centre of gravity, then MI (I) of the same body
about a parallel axis at a distance 'a' from the previous axis will
be given as I = IG + M a2