Emma payed 8 kg * $4/kg = $<<8*4=32>>32 for the cheese.
The cost of one kilogram of vegetable is $4 + $2 = $<<4+2=6>>6.
So Emma payed 7 kg * $6/kg = $<<7*6=42>>42 for vegetables.
In total Emma payed $32 + $42 = $<<32+42=74>>74 for her shopping.
#### 74