such that the differences between them (to label the edges) are 1,2,3,4,5. Or for larger graphs following that same pattern.
First one can observe that one equation can be formed from the information as:
This solution does work. There might be other ways to find a set of nonlinearly-related equations using the information given that work even better.