Jaycee is changing the shape of his garden from 50 feet long by 32 feet wide to a square that has the same area. What is the perimeter of the square garden
A. 1600
B. 160
C. 82
D. 40