Entanglement in a model for Hawking radiation: An Application of Quadratic Algebras