For part a) we want to build a perfect square trinomial to make the double root occur.
2x2 - 4x - b = 0
2(x2 - 2x - b/2) = 0
We want -b/2 = 1 so make the perfect square trinomial. We would then have 2(x2 - 2x + 1) = 0 or 2(x - 1)2 = 0, which gives a double root at x = 1. -b/2 = 1 implies that b = -2.
Another way to solve part a) would be to set the discriminant equal to 0.
b2 - 4ac = 0
(-4)2 - 4(2)(-b) = 0
16+8b = 0
b = -2.
For part b) we want the quadratic to be factorable in order to get rational solutions out of it.
2x2 - 4x - b factorable
One example: 2x2 - 4x - 6 = 2(x2 - 2x - 3) = 2(x - 3)(x + 1) = 0 would give x = 3 and x = -1 as rational solutions. The value of b that I used for this example was b = 6.