<image>As shown in the figure, a square with a side length of $$3a$$ is cut along the dashed lines into two smaller squares and two rectangles. If the smaller square with a side length of $$2b$$ is removed, and the remaining three pieces are assembled into a rectangle, then the length of the longer side of this rectangle is ______.