ABCD is a square with side length x and length DE is 1. Find the value of x for which the area of the shaded region is 1.