I am in the process of replacing the bar sink in my office. While I had the sink removed, I decided that it would be a good idea to replace the trap. It was very old. I thought that I would be able to run the tailpiece directly to the trap, but it is off slightly. It seems to be shorter than the old one. I bought 2 traps from Lowe's but neither aligns properly - one has a threaded end, the other does not. I thought that if I used the one with the threaded end, I could connect it directly to the tail piece. What is the best way to get these to align. Should I use 2 90 fittings or something else? I apologize in advance for the questions. I am very new to plumbing, but I feel like it's a skill that I need to learn.
Here are 2 pictures (the pictures show the trap without the threaded end)