Average of a, b and c :-
(a+b+c)/3 = 45
a = 135 - (b+c)
Average of a and b :-
(a+b)/2 = 40
a+b = 40*2
Put value of a find above :-
135 - b - c + b = 80
135 - 80 = c
c = 55
Average of b and c :-
(b+c)/2 = 43
b+c = 43*2
b = 86 - c
b = 86 - 55
b = 31
Now, Weight of B :- 31 Kgs