If a wall is 6th tall and a ladder is leaning against it. The ladder is 8th tall, how far apart is is the base of the ladder away from the wall?

a^2 + b^2 = c^2

6^2 + b^2 = 8^2
36 + b^2 = 64
b^2 = 64 - 36
b^2 = 28
b = 5.29