please answer numbers 47, 48,2,3,4,31,32,34,35

I have provided a few examples with the formula used based on this topic

Please answer 47,48,2,3,4,31,32,34,35