For something like this, a rectangular prism pole is a good start. I would recommend cutting off part of the top at an angle, and then pivoting it around to get the angle of the bend. Experiment with small scale versions until you get the angle correct.
You can also cut off part of the top of the prism, and then use another material, such as a wire, thin PVC pipe, or dowel to create the angle, and then cover the entire piece in foam.
I hope that helps! Good luck :]