y-intercept for x = 0.
Substitute x = 0 to the equation of the function:

Wait where’s the question?
If there aren’t any degrees and it doesn’t state that the triangle is equilateral then you cannot solve this equation without more information
It will have a vertical asymptote when the denominator approaches zero.
2x-6=0
2x=6
x=3
So the vertical asymptote is the vertical line x=3
Answer:
public class MovieRental
{
public static void main(String[] args)
{
Scanner in = new Scanner(System.in);
System.out.print("Enter the number of movie rentals: ");
int movieRentals = in.nextInt();
System.out.print("Enter the number of members referred to the video club: ");
int memberReferral = in.nextInt();
in.close();
double discountVal = Math.min(movieRentals + memberReferral, 75);
System.out.println("The discount is equal to: " + discountVal);
}
}