how do i find the corresponding function formula and check the symmetry algebraically