Deductions & credits

I have a similar situation in the state of Maine. Your answer gives me the exact guidance I needed. Thank you so much!