take a shot at someone or something

Meaning 1
to throw a ball into something; to shoot at something with a gun
Sentence 1
I' ll take a shot at that basket. Take a shot at at that deer.
Meaning 2
to try to do something
Sentence 2
I'll take a shot at taking the murder case, even though it's difficult.