x+2 > 10 solves to x > 8 after we subtract 2 from both sides
So set A is the set of real numbers that are larger than 8. The value 8 itself is not in set A. The same can be said about 5 as well.
Set B is the set of values that are larger than 5 since 2x > 10 turns into x > 5 after dividing both sides by 2. The value x = 5 is not in set B since x > 5 would turn into 5 > 5 which is false. The values x = 6, x = 8, and x = 9 are in set B.