if

A = 75.00 Dirhams x (70 grams x 100 cans)
what is the price of 1 gram?

B = 53.70 Dirhams x (48 grams x 135 cans)
what is the price of 1 gram?

and we have to prove that A>B and B<A.

sloution:

A = 100 cans
1 can = 70 grams
= price of A = 100 x 70 = 7000
price of 1 gram = total amount / total weight
price of 1 gram = 75 / 70000
price of 1 gram = 0.0107142857142857

now to prove that the price of 1 gram is = 0.0107142857142857,
0.0107142857142857 x the total weight
0.0107142857142857 x 7000
= 75
so the price of 1 gram is = 0.0107142857142857
================================================== =
B= 48 cans
1 can = 135 grams
= price of B= 48 x 135 = 6480
price of 1 gram = total amount / total weight
price of 1 gram = 53.70 / 6480
price of 1 gram = 0.008287037037037

now to prove that the price of 1 gram is = 0.008287037037037,
0.008287037037037 x the total weight
0.008287037037037 x 7000
= 53.70
so the price of 1 gram is = 0.008287037037037

so the value of A is greater than B
because A = 0.0107142857142857
B = 0.008287037037037

now 0.010 is greater than 0.008
A = 0.010
B = 0.008

the price of 1 gram in A is expensive than B
so A>B and B<A