It can be observed from the patern given that
Pattern 1 has one vertical bar and one horizontal bar
Pattern 2 has one vertical bar and two horizontal bar
Pattern 3 has one vertical bar and three horizontal bar
These patterns showed that there is always one vertical bar and the number of horizontal bar is equal to the pattern number
The pattern 4 would look like
The pattern 4 above has one vertical bar and 4 horizontal bars
The pattern 5 would look like
The pattern 5 above has one vertical bar and 5 horizontal bar
Hence, the pattern 4 and 5 look as shown above.