The length of a rectangle is 3 more than the width. If the area is 40 square inches, what are the dimensions?​