Vector Inequalities For Two Projections in Hilbert Spaces and Applications