1099-r forms

I rolled over my 401k to an IRA. I took a distribution from the total amount. I received a 1099-r for the $40,000 that I withdrew from my total distribution. they took taxes out of that money. then I received  another 1099-r for the total distribution of $304,874.48.  do I enter both of these 1099-r into my taxes? Its saying I owe federal $1383.00. once I add the second 1099-r it jumps to over $5000.00.