A Kimberley man has been sentenced after he and his nephew cornered a woman at a Derby home before attacking her.