A square has 4 sides, and all sides have the same length.
If one side measures 12 inches, then the total length of all sides is 4 * 12 inches.
4 * 12 inches = 48 inches
All edges combined are a total of 48 inches.
He only has 36 inches of ribbon, so he does not have enough ribbon.