# Multiply both Sides

<p class="callout info"><span style="white-space: pre-wrap;"><b>What</b>: Multiply both sides of == by the same expression.
<b>Why</b><span style="white-space: pre-wrap;">: Such side-wise multiplication is an essential computation for solving equations. </span>  
<b>Time to Complete</b><span style="white-space: pre-wrap;">: 4 hours. </span></p>
  
```
eq = (x - 3 == y / 13);

lhs = eq.left * 13; 
rhs = eq.right * 13;

eq2 = (lhs == rhs);

show eq2;
```

Output

"eq2" → 13*(-3 + x) == y



**Output**

   <style>
        .box {
            width: 200px;
            height: 70px;
            background-color:  hsla(89, 43%, 51%, 0.3);
            border: 2px dotted orange;
            padding: 10px;
            margin: 10px;
        }
    </style>

<div class="box">
"eq2" → 13*(-3 + x) == y

</div>


<hr style="border: 0; height: 1px; background-color: #ccc;">

##### Apply expand[ ] to one side
```
eq = (x - 3 == y / 13);

lhs = eq.left * 13; 
rhs = eq.right * 13;

eq2 = (lhs == rhs);

show eq2;

lhs = expand[eq2.left]; 
rhs = eq2.right;

eq3 = (lhs == rhs);

show eq3;

save as lhsrhs;
```

**Output**

   <style>
        .box {
            width: 200px;
            height: 70px;
            background-color:  hsla(89, 43%, 51%, 0.3);
            border: 2px dotted orange;
            padding: 10px;
            margin: 10px;
        }
    </style>

<div class="box">
"eq2" → 13*(-3 + x) == y
"eq3" → -39 + 13*x == y
</div>

<hr style="border: 0; height: 1px; background-color: #ccc;">

<p style= "color: orange;font-size: 10px;"> <b>© 2012-Present CCN Studios</b> </p>

<p style= "color: orange;font-size: 10px">
<b>Creative Commons Attribution-NonCommercial-ShareAlike 4.0 </b>
</p>