Like the model below, Nick?
I created it as you described though didn’t follow the lengths too closely as I have Alibre set to open in inches. I also looked at what happens if you edit the initial profile: the swept shape follows suit. I also tried it from the start as you suggested, as a pipe.

Yes, just like that.
Cool.
That leads onto a similar exercise for Mirror:
Start the Mirror operation
It will ask what you want to mirror and the plane to mirror it across.
What is the rail you just created, so select that in the appropriate box
The Plane is the one parallel to the sides of the rail, which is YZ in your fancy model. Select it from the browser list so you don’t accidentally pick something else and get a weird, hard to diagnose result.
Click OK, and you have a pair of handed rails. But they will be touching, which isn’t quite what’s wanted.
If you’re happy with modifying the Path sketch so the line is offset by half the chassis width from the axis it’s currently constrained to, do that. If not, start a new part and draw it like that.
Follow the same Sweep process, then the above Mirror. That will place the two rails so they look like the start of a chassis.
Follow on steps:
Banish the words Basic, Advanced, Difficult and Impossible from your vocabulary.
As Jason said, this demonstration annoyingly creates the rails vertically in the model. That’s because I picked universally named planes to make it work. Redo the exercise so the Path Sketch is on the plane that better represents Top and Bottom of the model, and the Profile Sketch on the one for the Front. Once my first part is under way, I turn off the visibility of all the planes because I find that thinking of Front, Top, Side, Centre, etc of the part saves a lot of grief.
change the selected Mirror Plane to see how it affects the new part. One of them will create a single rail that is a copy end to end.
You don’t have to use a Plane for the Mirror; any flat surface in the model will work, which includes surfaces of the actual part you’re trying to Mirror. Mind bending, but extremely handy when modelling a symmetrical object, as you only need to model half of it. If it’s symmetrical through more centre lines you only need a quarter. Some thought(and probably experimentation) will make the above single rail the other way around….
If you’re not comfortable modifying sketches to delete or modify constraints, dimensions or positions that’s probably the most important thing to work on. Changing stuff as you work is one of the main reasons for using CAD.
Try different ways of creating custom planes to help model new parts. There are several different methods besides the basic obvious ‘offset from an existing one’. Make sure you immediately give them relevant names; ‘Front Axle Plane’ is far more informative than ‘Plane 23’ that the program gives it. That advice applies to any operation you do, part/sketch/object/axis you create.
Banish the words Basic, Advanced, Difficult and Impossible from your vocabulary.
That last point is so important I though it worth mentioning twice.