A dowel jig like the Lieberwell jig kit can simplify things. Or, you can use a tape measure or try a tape hack to line up your dowel holes. Drill a hole in one of your 2x4 legs with a brad point ...