Here we can apply Mutual Inclusion-Exclusion, (no need to worry if u don't know)
For sets we know n(a U b)= n(a) + n(b) - n(a ∩ b)
in this answer # = Total number of .
# bit strings of length 8 that will start with 1 (let it be n(a)) = 2^7 = 128 (because we have 1 choice for 1st position and we have 2 choices each for other 7 position).
# bit strings of length 8 that will end with 00 ( let it be n(b))= 2^6 = 64 (similar reason as above)
Now in both the above bit strings we have common bit strings when string start with 1 and end with 00, and we have to count this only once to cover all cases, so
# bit strings of length 8 that will start and end with 00 ( n(a ∩ b)) = 2^5 = 32 .
#bit strings of length 8 that will start with 1 or end with 00= n(a U b)= n(a) + n(b) - n(a ∩ b) = 128+ 64 - 32 = 160
so, 160 is the answer