If a satellite is in a geostationary orbit, this means that the angular velocity of rotation of the satellite is the same as the angular velocity of rotation of the Earth. Because the satellite must be in a circular orbit to have a constant angular velocity, this means that the centripetal force [tex]m\omega^2r[/tex] on the satellite to remain in circular motion is in fact the gravity working on the satellite:
[tex]
G\frac{Mm}{r^2}=m\omega^2r[/tex]
In this equation, G is the gravitational constant, M is the mass of the earth, m is the mass of the satellite, [tex]\omega[/tex] is the angular velocity of rotation of the satellite and r is the distance between the center of mass of the Earth and the satellite.
You want the angular velocity of rotation to be the same as for the Earth, so what you have to do is to plug in the known value for the angular velocity of rotation of the Earth, and then you can calculate r and thus you know the height of the satellite if you subtract the radius of the Earth from r.