I think this will do the trick
firstlist[indexOfRow][IndexOfItemInsideRow][IndexOfItem]
edit**
This is just a small edit of your code
table = {
firstList = {
{{2160, 5}, {2160, 10}, {2160, 2}},
{{2160, 10}, {2160, 3}, {2160, 2}},
},
secondList = {
{{2160, 3}...