To find the deflection at B, this equation will be solved for x = L: