Put the numbers 1 through 8 into the triangular cells so that every line (of any length, in three directions) and every of the four marked smaller diamonds contains every digit not more than once.