Duality Theory and Applications to Unilateral Problems