If is a quadratic function such that and is a rational function, find the value of