First factor the numerator and denominator.
5ab = 5 · a · b
8b = 2 · 2 · 2 · b
The GCF is the product of the common prime factors in each term.
GCF = b \ \
The GCF of 5ab, 8b is b.