Write an absolute value equation representing all the numbers x whose distance from 1 and 20

... is what?

If maybe you meant "whose distance from 1 is 20" then that would be
|x-1| = 20