doubt in COUNTREL

how to come with a closed form in this questions (COUNTREL)