Two linear noncoercive Dirichlet problems in duality