In this puzzle each empty square needs to be filled in with a different positive integer 1 to 40.

The rules are the same as the first sequence fill in and are:Each string of adjacent squares needs to form an arithmetic sequence.
A horizontal string of squares increases from left to right.
A vertical string of squares increases from top to bottom.