BG=AB*cos45°=2cm=HC=AG=DH,GH=7-2-2=3cm
①BF≤BG时,y=S△BFE=1/2*BF*EF=1/2*x²,
∴y=x²/2,(x≤2)
②BG<BF≤BH,y=S直角梯形BFEA=(AE+BF)AG/2=(x-2+x)2/2=2(x-1),
∴y=2(x-1),(2<x≤5)
③BF>BH,y=S梯形ABCD﹣S△CFE=(3+7)*2/2+(7-X)²/2=10+(7-x)²/2,
∴y=1/2*(x²-14x+69),(5<x≤7)
BG=AB*cos45°=2cm=HC=AG=DH,GH=7-2-2=3cm
①BF≤BG时,y=S△BFE=1/2*BF*EF=1/2*x²,
∴y=x²/2,(x≤2)
②BG<BF≤BH,y=S直角梯形BFEA=(AE+BF)AG/2=(x-2+x)2/2=2(x-1),
∴y=2(x-1),(2<x≤5)
③BF>BH,y=S梯形ABCD﹣S△CFE=(3+7)*2/2+(7-X)²/2=10+(7-x)²/2,
∴y=1/2*(x²-14x+69),(5<x≤7)