The correct option is 1 and 3 only.
Explanation
The Shore Temple at Mamallapuram (Mahabalipuram) is a pioneering example of structural temple architecture in South India. Unlike the earlier rock-cut rathas, this temple was constructed using dressed blocks of granite, marking a significant evolution in the Dravidian style under the Pallava dynasty.
Statement 1 is Correct:
The temple was built during the reign of the Pallava ruler Narasimhavarman II, also known as Rajasimha (c. 700-728 CE). It is one of the oldest structural stone temples in South India and is a UNESCO World Heritage Site.
Statement 2 is Incorrect:
The temple is primarily oriented to the East, facing the Bay of Bengal. This orientation was intentional to allow the first rays of the rising sun to illuminate the deity in the main shrine. The statement that it is oriented to the west and faces away from the ocean is factually wrong regarding the main structure.
Statement 3 is Correct:
The temple complex houses three shrines. The main shrine (facing east) and a smaller shrine (facing west) are dedicated to Lord Shiva. Uniquely, a third shrine is sandwiched between them, dedicated to Lord Vishnu in the Anantashayi (reclining) posture. This inclusion of both Shaivite and Vaishnavite deities within the same complex is a distinctive feature.
Key Takeaway:
The Shore Temple is a structural temple built by Rajasimha (Narasimhavarman II) that faces the ocean (East) and contains shrines dedicated to both Shiva and Vishnu.