We have numbers 6706 and 3171. Let's start adding them together.

Step 1: We'll start by adding the digits 6 & 1 in column 1 and get 7.

Step 2: We'll start by adding the digits 0 & 7 in column 2 and get 7.

Step 3: We'll start by adding the digits 7 & 1 in column 3 and get 8.

Step 4: We'll start by adding the digits 6 & 3 in column 4 and get 9.

So, 6706 + 3171 = 9877.

