To factor this, we can factor both variables and then get a multiplier outside the parentheses and the new variables inside. (Sorry if it’s confusing)
18h = 2*3*3*h
30k = 2*3*5*k
Both have 2*3, which is 6. This will be the multiplier. To get the new variables, divide the old variables by 6.
18h/6 = 3h
30k/6 = 5k
The signs should not change.
6(3h+5k)
Hope this helps!