J j=agv where a is a constant of proportionality. j=1 when g=4 and v=5 1=a*4*5 1=20a a=1/20 a= 0.05 j=0.05gv When g=10 and v=9, j=0.05*10*9 j=0.5*9 j=4.5
5% is 0.05 in decimals. To get 5% of M, multiply it. To convert a percentage into decimals, divide the number by 100. 20/100 is 0.2. 0.2 is the tip. Do the same as 0.05 and add in the actual cost of the meal (M). Check image