$40k might scrape in for a 3.4 porsche cayman.
If not I'll go with Audi:
2016 SQ5 + tune 0-100 5sec, 6L/100 highway, room for dog. Might not get stuck on beach.
Or RS5 2012 331kw. Dog can stay at home. Not sure I'd buy from Joe in Melton though....
https://www.carsales.com.au/cars/det...-6596821/?Cr=1
Anyone driven an Audi ?