Gravity always works as a pair of <em>EQUAL</em> forces ... one in each direction between two masses. Your weight on the Earth is exactly the same as the Earth's weight on you.
The horizontal component of the velocity is the cosine of 30 degrees multiplied by 40m/s. The cosine of 30 degrees is the 0.8660 . To get the speed, multiply by 40m/s. This equals 34.64, which is approximately 35m/s.