9/13


#1

var perimeterBox = function(length, width) {
return length * width;
};
perimeterBox(1,2);
it says this doesn't return the correct perimeter (4) for a width of 1 and a length of 1.


#2

First of all, since it's the perimeter, I returned length+length+width+width instead of length*width.

Also, I didn't add that last part over there.

With the two corrections, I think it'll work.


#3


	Perimeter of a rectangle =  2 * (length + width)
	Area of a rectangle = length * width

We have to calculate the perimeter, not the area. So choose the correct formula.