Hint to start out the problem:
eg. For f(4), use the first expression, (x-3)^2 because 4 is greater than 1.
14 boys : 16 girls
but this would have to be simplified also
7:8
The top right one is not a function
200÷P, as you need to to do the equivalent of 20-p-p-p... until you get to 0, which is faster and more simply done with division.