Always buy used when starting this hobby. If you end up giving up (which I hope nobody will ever do), then you won't lose that much money. Once you know what you're doing, then buy new tanks since you have a clearer understanding of what you like and don't like.
Back to your question, a 40g...