Questions about a commutative ring with exactly three ideals [closed]

HINT for 1: $Ra$ is an ideal containing $a$, so what can we say about $Ra$?

HINT for 2: Consider the ideal generated by $ab$.