Here's a little trick to help explain it better. I'll use the first problem as an example.
3x^2 + 16x + 5 (the original problem) What you can do from here, is if the first variable is squared (3x^2) take the number in front of the x^2 and multiply it by the last number. So you'll get.
x^2 + 16 + 15
Here is where the trick comes into play to help organize everything. It's called the x-box (no not the game console). What you do is you make an X and you put the number on the far right of the problem at the top, and the middle number at the bottom. Like so.
To find the answer, the top one must be multiplied to get the top number and add to get the bottom number. The answer to that, it would be 15 and 1. 15 and 1 multiply to get 15 (the top number) and add up to get 16 (the bottom number) so then we get:
(x+15)(x+1)
We're not done. Here is the last tricky part and make sure you remember this, it is very important. Remember that 3 we multiplied to get 15? This time we take that same number and divide it. If it is not completely divisible, we bring it out in front of the x. 15 is divisible by 3, 5 times so we get:
(x+5)
However 3 cannot go into 1 so instead, we bring it out in front of the x
(3x+1)
So we get
(3x+1)(x+5)
Hopefully that helps. It's what I've been using since I graduate and it's helped me a lot.