You can't call a PHP function inside a string like that. Need to use concatenation.
Also you need to set the optional third param to FALSE
to return rather than echo the title.
echo do_shortcode('[gravityform id="9" field_values="trip_of_interest=' . the_title('','',FALSE) . '"]'); ?>