there's no such animal as a 45 day tourist visa on arrival ๐
How about we get your terminology dialed in AND tell you where to go for your extension?
If you showed up here without buying a visa from a thai consulate in your country before you came here and were stamped in FREE for 45 days you didn't get in on a tourist visa, or a visa on arrival, in fact you didn't get in on ANY visa at all. You just got a free entry stamp and that's called a "visa exempt entry" ๐
To extend that stamp the one time for 30 days in bangkok you go to the Immigration office on the 3rd floor at IT Square Plaza Laksi at this location;
****************************