If the quadratic parent function is reflected in the y-axis and vertically compressed by a factor of 1⁄2, write an equation to represent the new function.