//argument0 = width //argument1 = height var triangle; triangle = (argument0*argument1)/2 return triangle