Right answer is (d) away from centroid
Easy explanation: In open cross sections ( I and channel sections), major part of material is distributed at the flanges, i.e. away from their centroids, to improve their resistance to in-plane bending stresses.