If 3 boys shared x oranges among themselves in the ratio 3:5:8, and smallest share…