Basic exercise with trinomial