<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine on
RewriteBase /goals
RewriteRule ^[^\d]+(\d+)-y-(\d+)/$ index\.php?id=$1-$2&%{QUERY_STRING} [L]
</IfModule>