How to extrude following a path that is 90 to referance plane

Okay what I need is the profile sketch to follow the path that turn 90 degrees from the extrusion plane.

I have tried for hours to figure this one out and I cant get any cooperation from Solidworks.

It is for a bench.

Thanks in advance!

SolidworksSketching