Precalculus Examples

Find the Union of the Inequalities 2x-8=-7 , x-5=2
I am unable to solve this problem.