Hi Alena,
In that case, create credit memo request with 10 items, where
1. 5 Quantities for relevant for pricing (Regular Item Category)
2. 5 Quantities post as free good. Here you can have item category for credit memo request similar to Item Category TANN.
Hope that helps.
Thanks, JP