Reed wants to have a square garden plot in his backyard. He has enough compost to cover an area of 40 square feet. To the nearest tenth of a foot, how long can a side of his garden be?