# Frequency response and Impulse Response

Im struggling to do the following question. Any help would be appreciated

A following system has the following difference equation

y(n)+ 1/8y(n-1) - 5/8y(n-2)=1/2x(n-1)

First part is to calculate the system transfer function using the z transform. Then get the frequency response and the impulse

Ive managed to work out the system function and using the z transform it equates to
$\frac{Y(z)}{X(z)}$=$\frac{1/2z^{-1}}{1+1/8z^{-1}-5/8z^{-2}}$

From this how do i calculate the frequency response and the impulse response of the system.

Many thanks