solutions

ad 1