The rules:
on row 1 yellows cells are increasing from left to right
on column 9 yellows cells are increasing from top to bottom
on row 9 yellows cells are increasing from right to left
on column 1 yellows cells are increasing from bottom to top
here the solution of second grid posted on Variants & Techniques
https://www.argio-logic.net/forum/viewtopic.php?f=68&t=7440