Deductions & credits

As I stated in my question and supporting details, I received two 1099-SAs. one is a Distribution Code #2 for excess distribution refund. The other is a Distribution Code #1 for "normal distribution" since there was a small profit earned that had to be distributed separately.  The questions inside the platform are not clear or do not reference my scenario. My question again is: How do I manually enter these 1099-SAs?

Thank you!