Two mappings in connection to Fejér inequality with applications