Here's what you need to do:
1. Safety First: Before doing anything, completely disable the vehicle. Park it on a level surface, engage the parking brake (though it may not be reliable if the lines are rusted), and chock the wheels. Wear safety glasses and gloves.
2. Assessment: Carefully inspect the entire brake system. Rusted lines often indicate other problems. Look for rust, corrosion, bulges, leaks, or any damage anywhere in the brake lines, hoses, and calipers. Don't just focus on the one you've identified.
3. Professional Replacement (Strongly Recommended): This is the safest and best option. Take your Camaro to a qualified mechanic or brake specialist. They have the tools, expertise, and proper equipment to safely bleed the brakes and ensure the entire system is functioning correctly after the replacement. They'll also be able to identify any other potential problems.
4. DIY Replacement (Proceed with Extreme Caution): If you have significant mechanical experience and the right tools (including a tubing bender, flare tool, double-flare tool, and appropriate fittings), you *might* attempt this yourself. However, a mistake could be deadly. If you are not absolutely confident in your abilities, do NOT attempt this.
* If you decide to proceed with DIY:
* Obtain the correct replacement lines: Get exact replacements from a reputable auto parts store. Don't try to use substitutes.
* Properly bleed the brakes: After installation, the brake system needs to be thoroughly bled to remove any air bubbles. This is crucial for proper braking function.
* Pressure Test (Highly Recommended): After bleeding the brakes, have a professional pressure test the brake system to verify the integrity of the new lines and the entire system.
In summary: A rusted brake line is a serious safety hazard. Professional replacement is the safest and most reliable solution. Attempting a DIY repair only if you possess extensive mechanical experience and are fully aware of the potential consequences. Don't gamble with your safety or the safety of others.