its B because as u can see in each figure there is a difference between the number of sides by one............. in the first the shape has six sides, in the second five sides, in the third four sides and so on......!!!! So at the last there must be two sides only!!!
Hope u can understand!!!