Two rectangles have the same area of 70m2. It is given that the length of the first rectangle is 4m longer and the width is 2m shorter than the dimensions of the second rectangle. Find the lengths of the sides of these rectangles.