Let's combine everything together! In this question, you will be asked to combine scaling and translations. Write a function named "problem5" that accepts a single input and scales the image by 0.5 and shifts it up by 7 units. The input variable has the following format:
- Row 1: X coordinates
- Row 2: Y coordinates
Your function should return its final answer in the same format.