Self-Test 1

Writing facts
 
You are advised to complete your solution before you look at the answer.
 
 
1.
Copy these five path/2 facts into a file.
          path(a,1).
          path(a,3).
          path(a,6).

          path(1,2).
          path(1,4).
 
2.
Add the remaining path/2 facts to complete the representation of the network given above. Eleven more facts are required.