Solution
Step 1:
Write the function:
Step 2:
Horizontally compressed is given below:
Final answer
1.6m questions
2.0m answers