Fletchers Solicitors interview question

Write a function to return sum of squared number