I think the author mixes variables with numbers. If you add units in to the mix then you have to think like it variables so for example that’s taken “2 baskets × 3 apples per basket = 6 apples” would correspond to 2x
3y/x=6y removing the numbers and the equation becomes clear xy/x=y or we the numbers for them selves 23=6, That is because numbers are like their own variable but with connection to other numbers(variables). So if we would define 1 as x then 2 would be 1+x or we could call it y but y would still be 1+x in relation to 1.
And also”3 cm + 3 cm = 6 cm” as 3x+3x=6x and removing the numbers it become 3x/3+3x/3=6x/3 => x+x=2x it makes more sense.
And”2 cm × 3 cm = 6 cm^2″ can be then seen as 2x*3x=6x^2.
Multiplication doesn’t change anything. We must see what we add, in this case the unit and calculate accordingly both for addition as for multiplication.