Solve state transformer exercises