x = 6
Explanation:
use the pythagorean theorem which is a^2 + b^2 = c^2. 8 goes in either the a or b position and 10 is the longest side so it will go in the c position.