For the second one, use the universal gravity formula.
F=Gm1m2/r^2
F = ma, so divide by mass m2
a = Gm1/r^2
where G is the universal gravitational constant, m1 is the mass of the Earth, and r is the distance from the centre of the Earth (altitude + diameter of Earth(r/2))