The expression inside the limit evaluated at 2 is undefined, however the limit itself is 5, meaning that if you are slightly away from x=2 but not actually on that point, the closer you get to x=2, the closer the expression gets to 5.
If you are at x=2.00000000000000000000001, then the expression will be very close to 5. If you add more zeroes, it will get even closer to 5. The actual point itself doesn't matter, we are only talking about points in the nearby vicinity.