5.1 has surrounds not rears.
Back wall sounds like the wrong placement. Show me a floor plan.
Ceiling is for Dolby atmos and dts x and under no circumstances do they ever get used for any ear level speakers.
Answer to question is surrounds go into surrounds/sides terminal.
Ceiling speakers...