You've got the right idea with the pot odds. Good work.

On the second hand though the 7s are not outs because your hand is still AAJJQ if a 7 comes on the river, and the jacks can hardly be considered outs since you're still losing to any Ace.