Text this: Calculating the Bearing Capacity of Foundations near Slopes Based on the Limit Equilibrium and Limit Analysis Methods