Start with the equipment you have
Check the weight marked on the bar and weigh or verify each collar if it matters to your calculation. Use one unit throughout. With a 20 kg bar and two 2.5 kg collars, 25 kg is already included.
Find what belongs on each sleeve
Subtract the bar and both collars from the target, then divide the remainder by two. For a 100 kg target with a 25 kg starting load, you need 37.5 kg of plates on each side. One possible layout per sleeve is a 25 kg plate, a 10 kg plate and a 2.5 kg plate, if you have two of each.
Handle a target you cannot reach exactly
Choose the closest load if the target is flexible. Choose at or below when the target is an upper bound. Verify the marked weights and the available sleeve space, and keep both sides even. Colours are a visual aid, so read the plate markings.