Rob scored 34 points. 88-54=34
If function and inverse be

Both will seem to be opposite and similar .
Look at the first one
It is showing like 1 is function and other one is its inverse(Attachment )
Hence 1st one is the answer
Answer
Logan collected= 180
Jack collecte twice as Logan =(180*2) = 360
Jack has 360 cans