Newbie grounding questions

Sorry if i've been unclear -

The arduino is being powered via its USB connection to the raspberry Pi. The Pi is being powered directly from the 5v regulator, which is a UBEC type.

The wavey blue line was supposed to indicate that!