In Assignment Question number 19

I am having problem in question 19 of the pattern problem assignment the logic that I’m using is seeming very complex can you provide me with easy one.

@budhirajarahul25 Since that PDF is not available to me can you send me the pattern you’re having problem in?