During your upkeep, activate Mairsil by sacrificing it and discarding your hand, adding ({U} magic symbol) ({U} magic symbol) ({U} magic symbol) .
Mairsil dies, triggering Fool's Demise's first and second abilities.
Resolve the first Fool's Demise trigger, returning Mairsil from your graveyard to the battlefield.
Activate Mairsil using Hakim's first ability by paying ({U} magic symbol) ({U} magic symbol) , returning Fool's Demise from your graveyard to the battlefield attached to Mairsil.