finalized math to solve for DTI