Wat Maheyong Ayutthaya
The top photo is is an end-view of the Ubosot (ordination hall), as seen from the main stupa. Below is a view of both structures.