title: Write Multiline Arithmetic in Ruby
body: <p>How to write multiline arithmetic properly in Ruby? Previously, i have tried something like <code>y</code>, then i realized there is something wrong with that code. I need to write multiline arithmetic due to my very long equation. </p>
  
  <pre><code>a = 5
  b = 5
  
  x = (a + b) / 2
  
  puts x # 5, as expected
  
  y = (
        a
        + b
      ) /
      2
  
  puts y # 2, what happened?
  </code></pre>