Answer:
The orthologous and paralogous determines the species divergence among the related or different species. Orthologous gene transfer after the speciation event whereas paralogous gene transfer after the duplication event.
As the information given in the question, it can be concluded that both the species A and B has been diverged from each other. The gene B is produced from the gene A in the species 1. This diversion might occurs before the event of the gene duplication.