Evelyn is thinking of constructing a swimming pool in the plot next to her house such that it is surrounded by grass as given in the figure below. The dimensions of the plot is 50 ft x 40 ft, and the area of the grass is 1184 ft^2. Find the dimensions of the pool.