You need to find the greatest common factor for both numbers which is 6, then you count how many variables you have and if your able to take them out, in this case you can't so you leave x inside the parenthesis. If you want to check if is correct distribute.
6(6x-1) -----> answer
6*6x=36
6*(-1)=-6
36x-6