Note that the formula I = (m*r^2)/2 is associated with a disk rotating about the center, which is not the case in your drawing (no disk). You’ll likely be using the formula for a “rod”, “plank” or “satellite”. In inertia equations, “R” is associated with the object’s radius, whereas “L” is the length from the axis of rotation to the center of mass of the object.