How are costs determined when a group of people request a gas main line extension to a neighborhood?

How are costs determined when a group of people request a gas main line extension to a neighborhood?

NY Home NY Business
PA Home PA Business