Can anyone pls help me with this math THANK YOU VERY MUCH

Answer:
drop the blue(3rd) square into the top space.
drop the 4th square into the second space.
drop the second square into the third space.
drop the 1st (purple & pink) square into the bottom space.
Answer:
the (3rd) blue one in the first space
then the second one in the second space
the fourth one in the third space
the first one in the last space