For the right triangle below, find the length of x\displaystyle {x}. Round to the hundredths. (2 decimal places)

6<-- 40 degreesx[Graphs generated by this script: setBorder(20,0,0,0);initPicture(-3,6+15,-3,6+3);path([[0,0],[5,0],[0,6],[0,0]]);path([[0,.7],[1,.7],[1,0]]);text([0,6/2],"6","left");text([0,6+.5],"<-- 40 degrees","right");text([5/2,0],"x","below")]