The area of a square is #40# #i n ^2#. If the length of each side of the square is #2x# #i n#, what is the value of #x#?