Answer:

Step 1:
We need to place the numbers in descending order of the power. Here,
has the largest power, so that number goes first. We keep doing this until we end up with our final expression, placed in order based on the powers.

Step 2:
We can see that the last three numbers, 17, -7, and 6, don't have variables or powers, so we simplify by adding (and subtracting) them.

Our final equation:

1 .05
1 will be put in the ones places where the 5 will be put in the hundredths place.
We happen to have

which is to say, the base-8 representation of 1/7 is

This follows from the well-known result on geometric series,

if
. With
and
, we have

Uniformly multiplying each term on the right by an appropriate power of 2, we have

Now observe that for
, each numerator on the right side side will contain a factor of 16 that can be eliminated.

That is,



etc. so that

and thus the base-16 representation of 1/7 is

and the first 10 digits after the (hexa)decimal point are {2, 4, 9, 2, 4, 9, 2, 4, 9, 2}.
21 divided by 3 is 7 then multiplying 7 to 6 which is 42 and after you're multiplying 42 to 10 which is 420.