Longview man sentenced to 6 years on indecency with a child charge