Find X

A man stands on the top of a building of $$x$$ height, He caught a stone and threw it an angle $$30^\circ$$, The stone raised up to 10 meters, Then fall down to the ground, Everything took 10 seconds.

Find $$x$$.