Anyone get how to do this because I don’t get it

Remember, the forms ax+by≤c always represent a half plane divided by the line ax+by=c.
Put (0,0) in your line to find whether the origin lies in the half plane or not. In this case it does not, hence the other half is shaded.