first, we need to find side of square

36:3=12cm^2 - for 1 part
first rectangle has area of
12*2=24cm^2
secomd rectandle has area of
12*1=12cm^2
first side of rectangles is 6cm
second side of first rectangle:

second side of second rectangle:

Answer:
the dimensions of first rectangle: 4 and 6
the dimensions of second rectangle: 2 and 6