To solve for the debt that the Ryan's are able to deduct home equity interest from:
If Rick and Carol file jointly, they can deduct all of the interest paid on the first home loan. For the second home equity loan, they can deduct whe current market value from what they owe on the mortgage. $200,000 - $125,000 which is equal to $75,000 of interst that is deductible as home equity interest.