using section formula find k