in the figure what is the value of x

Answer:
6√2 is your answer
relationship between perpendicular and hypotenuse is given by sin angle
sin45=p/h
sin45=6/x
x=6/sin45=6√2