Gravity is related to the angular speed is given by
g′=g−ω2R
So the weight at the equator is mg′=m(g−ω2R)
Gravity above the earth's surface is given by
g′=g(1−2hR)
Implies the weight at the equator above the earth's surface is mg′=mg(1−2hR)
It is given that these two weights are equal,
⇒m(g−ω2R)=mg(1−2hR)
⇒g−ω2R=g−2ghR