Square brackets!

Hi I’m making a cable jumper and am a flummoxed by the following square brackets:

[k4, [p2,k2]3 times,p2,k4,p2] 5 times

Not sure what I’m doing 3 times and what doing 5 times - very confused
Hope someone can help
Thanks in advance

It probably would be easier written with parentheses:
[k4, {p2,k2}3 times,p2,k4,p2] 5 times

Each of the 5 times that you repeat the line the p2k2 repeats 3 times.
[k4, p2,k2,p2,k2,p2,k2, p2,k4,p2] 5 times

Thank you for your help. That makes more sense.