We provide explicit formulas for the Green function of an elliptic PDE in the infinite strip and the half-plane. They are expressed in elementary and special functions. Proofs of uniqueness and existence are also given.