Let the number be x.
6x-20=94
6x=114
x=19
Input of 3.....output of -6.......(3 * -2 = -6)
input of -2....output of 4........(-2 * -2 = 4)
input of 0....output of 0.........(0 * -2 = 0)
function rule : multiply the input by -2
Patient A - 150 mg
Patient B - 50 mg
I hope this helps :)

<h3>When two dice are thrown, the total number of sample spaces is 36. Hence, the probability of getting a sum of prime numbers = 15/36 = 5/12.</h3>