Charlotte cuts a 3-foot long ribbon into 4 equal pieces to trim a square pillow. How long is each piece of ribbon?