If you are amending, subtract the penalty Line 38 from amount you paid.Do not try to calculate a new penalty; IRS wlll do that and send you a bill or refund.
If you use TaxACT you will find that the only PDF allowed is "Form 8949 transaction details for the mail-in election"If you need to attach some other documents ...