CAS-løsning for oppgave 1.4.17 c) bm