Notely
Use equations v = v₀ cos(ωt) and v = ±ω√(x₀² - x²). | Notely