Cut some pipe.
Zap the sections with a heatgun.
Smoosh them with a brick or any other heavy object. Leave to cool for a few minutes.
They'll end up flat.
Now use heatgun again to bend to shape. Notice I am doing all this freehand. If you can arrange some stuff to act as a jig, you'll have...