[John-ga [karerai-o [[otagaii-no sensei]-nij [ tj ti homeru yooni tanonda]]]] (koto).
John-Nom they-Acc each other-Gen teachers-Dat praise to asked fact
Them, John asked each other's teachers to praise.