A multimedia library as 108 seats, which are all arranged in rows. The number of seats in each row is 3 less than the number of rows. How many rows of seats are in the library?

The answer appears to be 12 but I can't figure out how to set up an equation with variables and solve for this.