solve {l=x*15,l=(x-25)*40}