Retirement tax questions

Thank you for the very detailed information, would I be able to find out if this deduction to my IRA is possible before or after I make the deduction.  

 

Thanks again!