I haven't ever studied this yet, but here are some links, I really hope they help:
www.ck12.org/book/cbse_biology_book_class_xii/section/9.9/
Read it closely :)
What’s the difference between homologous and analogous structures? How do I specify which is which
1 answer