If the side length of of rectangle is 3x-3 and the top length is 6, how do I write a linear equation the represents the area and a linear equation that represents the perimeter, all measurements are in cm if that is useful.