how bad is this rust?

How much is an average price for a new frame rail? For reference sake