Something like this

If you cut the parts on a tablesaw everything will be straight and square (unlike buying a 2x4 at the lumberyard) screw and glue everything together and it will be more than strong enough. I build all my stands this way and have never had an issue.