Kindly Help me to solve pattern problems

I’m not able to solve pattren problems as it is very difficult for me to built logic . please tell some trick or easy methods to solve such problems.

The main thing is to find the relation between i and j in the pattern.