0 - 2 of 2 tags for sql teradata combine group help

For some reason I cannot figure out how to group these two statements.  I want the values of trxn_dt to match up with a.debt_mgr_rtr_acct_num.  I have included the code below and if anyone could help with this, I would greatly appreciate it!  Fist time post with code snippet, so any recommendations in posting would help as well.
 

 

For some reason I cannot figure out how to group these two statements.  I want the values of trxn_dt to match up with a.debt_mgr_rtr_acct_num.  I have included the code below and if anyone could help with this, I would greatly appreciate it!  Fist time post with code snippet, so any recommendations in posting would help as well.