ImplicitCAD (ExtOpenSCAD) Cloud

union() {
  square(20);
  translate([10,10]) square(20);
}

Console