I'm need some assistance with intermediate information for a problem I'm attempting to solve. For

I'm attempting to solve for E(X) . As per the definition,

Where my confusion lies is, based on my calculations,

But, according to my solutions manual (corroborated by other sources),

I don't understand how they obtained these values. What am I missing here?