title: Given [1,2,3] in prolog get back [6,5,3] by reverse accumalation
body: <p>Q. Given [1,2,3] in Prolog get back [6,5,3] by reverse accumulation</p>
  
  <p>I have the start code:</p>
  
  <pre><code>accumalate([H],[H]).
  accumalate([H1 | H2], [Hnew, H2]),
         Hnew is H1 + H2.
  </code></pre>
  
  <p>....</p>
  
  <p>I am looking for basic Prolog solution.</p>