var a1 = 10 var a2 = 2 console.log((a1 * a2)/2) // Area would be 10 in this case, formula for triangle area is (base * height) / 2