The string if light will need to be 144 inches long.
To answer this problem, you're really just finding the perimeter. To do this you take each of your side lengths and multiply them by 2:
32 x 2 = 64
40 x 2 = 80
Then you just add those two number together, which will give you 144