For the first one, use
E=hv
E = energy in J
h = planck constant in J s
v = frequency (in s-1 which is the same as Hz)
The second one is correct.
Excellent. Thanks for the help.
I have my Chemistry exam tomorrow. Thanks to all of you guys, I'm now pretty confident going in..