Attaching the tonneau cover to the rear seat upper

I would start looking at extruded AL on Google and see if you can find a shape that comes close

Some of these profiles when cut out might work

Sliding Window Series|Extruded Aluminum Sliding Window Series