Sonya wants to sew ribbon along each side of a square pillow. If the pillow has an area of 144 square inches, how much ribbon would she buy to have the exact amount she needs