A game designer is creating a computer animation of a rectangle with sides that vary in size. The length of the rectangle in centimeters after t seconds is given by the expression 2t-9, while the width is given by the expression 1 + t. After how many seconds is the rectangle a square?