There is a sign error in the derivation.

Fx = (Fy + w)/tanO
Fy = w-FxtanO

Fx = w/tanO


I can provide the entire derivation if needed.