You brought up the fact that since Germany declared war on us, and Japan attacked us that it was okay to declare war on Germany. Using your same logic, since Al Qaeda attcked us and Iraq had declared war on us, therefore we could declare war on them.