Thanks for posting your query on health care magic.
Since you have missed your second shot of depo with unprotected sexual intercourse, there are chances you could be pregnant.
I recommend you to get your blood tested for beta HCG
Serial increase in titres suggest pregnancy
gives a definitive evidence of pregnancy.
It also helps in detecting other causes of irregular and missed periods.
Hope this helps.