An artist wants to frame a square painting with an area of 400 square inches. She wants to know what the length of the wood trim that is needed to go around the painting. If x is the length of one side of the painting, what equation can you set up to find the length of a side?