Text this: Non-homogeneous BVPs for second-order symmetric Hamiltonian systems