The Nanda dynasty ruled in northern part of the Indian subcontinent during the 4th century BCE, and possibly during the 5th century BCE. In 326 BC, Alexander invaded India, after crossing the river Indus he advanced towards Taxila.
First statement is incorrect because though the traces of Pallava and Chalukya temple architecture are available, but its construction is generally attributed to the 8th century Rashtrakuta dynasty. The second statement is also incorrect because the temple is a complete dravida building