Use a variable for the unknown number so it would be 77-2x also if you don't know a number and a variable together means to multiply them
(2x-3)(4-3x)
8x-6x^2-12+9x
answer=-6x^2+17x-12
A) Since there are 3 (3,5,7) odd primes between 0-9 and there are 10 blocks from 0-9, the probability is 3/10
B) Since there are 3 (1,4,9) perfect squares above 0 and there are a totally 10 blocks from 0-9, the probability is 3/10.
You just convert 10 decimal places to the right, adding zeros when the points after the decimal end, leaving you with 29400000.