A function `multiply(x,y)` operates as follows for `multiply(123,45)`:
```
Solving 123 x 45

1. total = 0
  # Multiply "3" and "5" with their tens places
  12(3) x 4(5) -> (15) x 1 x 1 = 15
  total = 0 + 15 = 15

2. total = 15
  # Multiply "2" and "5" with their tens places
  1(2)3 x 4(5) -> (10) x 10 x 1 = 100
  total = 15 + 100 = 115

3. total = 115
  # Multiply "1" and "5" with their tens places
  (1)23 x 4(5) -> (5) x 100 x 1 = 500
  total = 115 + 500 = 615

4. total = 615
  # Multiply "3" and "4" with their tens places
  12(3) x (4)5 -> (12) x 1 x 10 = 120
  total = 615 + 120 = 735

5. total = 735
  # Multiply "2" and "4" with their tens places
  1(2)3 x (4)5 -> (8) x 10 x 10 = 800
  total = 735 + 800 = 1535

6. total = 1535
  # Multiply "1" and "4" with their tens places
  (1)23 x (4)5 -> (4) x 100 x 10 = 4000
  total = 1535 + 4000 = 5535

7. total = 5535
```

Note that only the numbers in parenthesis are multiplied to form the number in parenthesis to the right of `->`. The other two numbers represent the tens-place for the left and right operands respectively.

Perform this for `multiply(10, 10)`.
