mathematics sucks, somebody help

An isosceles triangle is drawn so that it has the same area as the above square (i.e. x), and with two sides that are equal to the square root of x (henceforth dubbed y). What is the length of the third side?