Answer: There are 45 walnuts in the bag.
Explanation:
Since we have given that
Ratio of the number of walnuts to the number of cashew = 5:6
Let the number of walnuts be 5x.
Let the number of cashews be 6x.
Since the number of cashews = 54
so, According to question, it becomes,
Hence, the number of walnuts would be
Therefore, there are 45 walnuts in the bag.