You could just multiply the whole number with the numerator and then divide the answer by the denominator. Or you could write the whole number over 1, and then simplify the numbers before multiplying straight across.
2/3 x 36
2/3 x 36/1
2/1 x 12/1 (simplified the 3 and the 36)
24/1=24 (just multiplied across)